package com.cndw.kungfu.config;

import com.cndw.kungfu.ext.TimeProcesser;

/**
 * 一些活动的配置相关
 * 
 * @author fantadust
 * 
 */
public class ConstantsAct {

	public static final int[] xs = { 2, 4, 20, 100, 200 };

	public static final int[] xsAward = { 0, 1, 2, 5, 12, 20 };

	public static final int xsAwardId = 103804;

	public static final int[] xw = { 30, 50 };

	public static final int[] xwBuy = { 5, 10 };

	public static final int[] xwAward = { 103996, 6 };

	public static final int[][] taskAward = { { 5, 104003, 2 }, { 3, 104002, 5 }, { 5, 103301, 5 }, { 3, 103995, 10 }, { 5, 103502, 2 } };

	
	public static final int[] dp = {2,4,20,100,200};
	
	public static final int[][] dpAward = {{103805,1},{103805,2},{103805,5},{103806,3},{103807,2}};
	@Deprecated
	public static final int[] spcDicipleTime = { TimeProcesser.getUnixTimeSilent("2012-09-25 07:00:00"), TimeProcesser.getUnixTimeSilent("2012-10-1 00:00:00") };

	/**
	 * 特殊活动招聘的下标
	 */
	public static final int spcDiscipleSign = 1;

	public static final int spcDiscipleBase = 100;
	/**
	 * 后羿,嫦娥,全
	 */
	public static final int[] spcDiscipleAward = { 0, 103586, 103586, 103585 };
	
	public static final int dlAwardId = 103567;
	
	public static final int[] spirit = { 4, 7, 9, 10, 11, 12 };
	/**
	 * 领取充值活动奖励需求额度
	 */
	public static final int[] payAwardNeed= {5000, 10000, 30000};
	/**
	 * 充值活动开始、结束时间
	 */
	public static final int[] payAwardTime = { TimeProcesser.getUnixTimeSilent("2012-10-23 09:00:00"), TimeProcesser.getUnixTimeSilent("2012-10-30 07:00:00") };
	public static final int mountainEndTime = TimeProcesser.getUnixTimeSilent("2012-10-29 23:59:59");
	
	public static final int prayAwardId = 103592;
	/**
	 * 神器境界奖励   等级，物品id，数量
	 */
	public static final int[][] actStateAward = {{1, 103524, 6}, {51, 103525, 6}, {101, 103525, 10}, {151, 103526, 10}, {191, 103526, 20} };
	/**
	 * 四项精魄奖励领取条件
	 */
	public static final int[] actFBCondition = { 3, 4, 5, 6 };
	
	/**
	 * 万圣节登录活动奖励物品id
	 */
	public static final int[] halloweenAward ={103590,103591};	
	
	/**
	 * 11月06号光棍节登录活动奖励物品id
	 */
	public static final int[] singleAward = {103600,103601};
	/**
	 * 光棍节乐享洗练活动奖励。[洗练次数] 
	 */
	public static final int[] washAwards = { 20, 50, 100, 150, 200};
	/**
	 * 崇圣活动奖励 次数，奖励个数
	 */
	public static final int[][] flowerCrossAward = {{5, 2}, {10, 4}, {15, 7}, {20, 10}, {25, 15}};
	/**
	 * 温馨初冬徒弟成长	次数,奖励个数
	 */
	public static final int[][] discipleNeed = {{10,1}, {30,3}, {10,1}, {30,3}, {10,1}, {30,3}};
	/**
	 * QQ空间、朋友网登陆奖励活动开始时间
	 */
	public static final int pfAwardBegin = TimeProcesser.getUnixTimeSilent("2012-11-13 09:00:00");

	@Deprecated
	public static boolean isSpcDay() {
		int currentTime = TimeProcesser.getUnixTime();
		return currentTime >= spcDicipleTime[0] && currentTime <= spcDicipleTime[1];
	}

}
